﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl" %>
<%
    if (Request.IsAuthenticated) {
%>
        <ul>
        <li>[ <%: Html.ActionLink("CSV导入", "CSVUpload", "Cms")%> ]</li>
        <li>[ <%: Html.ActionLink("系统设置", "Config", "Cms") %> ]</li>
        <li>[ <%: Html.ActionLink("查看员工考勤", "ShowAttendance", new { @pageno = 1 }) %> ]</li>
        <li>[ <%: Html.ActionLink("用户管理", "UserList", "Account") %> ]</li>
        <li>[ <%: Html.ActionLink("退出", "LogOff", "Account") %> ]</li>
        </ul>
<%
    }
    else {
%> 
        [ <%: Html.ActionLink("登录", "LogOn", "Account") %> ]
<%
    }
%>